package com.yegs.admin.base;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.util.List;

@Data
public class PageVo<T extends BaseEntity> implements Serializable{

 
    private static final long serialVersionUID = 1L;

    private T entity;
 
    @ApiModelProperty(value = "页号")
    private int pageNumber;
 
    @ApiModelProperty(value = "页面大小")
    private int pageSize;
 
    @ApiModelProperty(value = "排序字段")
    private String sort;
 
    @ApiModelProperty(value = "排序方式 asc/desc")
    private String order;

}